/************************************************************************************** 
    WFEngine Engine

    Copyright (C) 2010 =OsDevD=

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation; either version 2.1 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 **************************************************************************************
 */
package ez.workflow;

import java.util.Properties;

import ez.workflow.process.WFProcessManager;

/**
 *
 * Single Instance  - WFEngine that instantiate WFProcessManager in runtime
 * 
 * @author OSDevD
 *
 */
public class WFEngine {
//TODO 
//	Need to have WFEngineProcessManager and probably make sense to 
//  have single Session for each WFEngine instance, thats debatable.
	public static WFProcessManager processManager ;
//
	public WFEngine(WFProcessManager processManager){
	  this.processManager = processManager;	
	}
	
	public void initialize(WFEngine engine, Properties properties) {
		processManager.initialize(engine, properties);
	}
	
	/**
	 * default constructor
	 */
	public WFEngine(){
		
	}
}
